package com.matt.domain.estimate;

import com.matt.commons.model.Model;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 课程评价表
 */
@Data
@Entity
@Table(name = "course_extend_estimate")
@EqualsAndHashCode(callSuper = true)
public class CourseExtendEstimate extends Model {

//    @Column(columnDefinition = " varchar(32) COMMENT '评价纪录id' ")
//    private String id;

    @Column(columnDefinition = " varchar(32) COMMENT '评价课程id' ")
    private String courseId;

    @Column(columnDefinition = " varchar(32) COMMENT '评价人id' ")
    private String evaluatorId;

    @Column(columnDefinition = " varchar(500) COMMENT '内容' ")
    private String courseContent;

    @Column(columnDefinition = " varchar(32) COMMENT '评价日期(创建日期)' ")
    private String createDate;

    @Column(columnDefinition = " varchar(200) COMMENT '图片URL 多个,隔开' ")
    private String imgUrl;

    @Column(columnDefinition = " int(10) COMMENT '评论点赞数量' ")
    private Integer likeCount;

}
